package edu.put.sk.nrpp.ui;
import edu.put.sk.nrpp.*;


public class GraphicsRouter {
	public Router router;
	public int posX;    //position of image X
	public int posY;
	public double angleFrom;
	public double angleTo;
	
	public boolean usedInAlg = false;
	public boolean nowInAlg = false;
	public GraphicsRouter(Router r){
		router = r;
	}
	
	public void setAngle(double _angleFrom, double _angleTo){
		angleFrom = _angleFrom;
		angleTo = _angleTo;
	}
	
	public void setPosition(int x,int y){
		posX = x;
		posY = y;
	}
	
	public void changePosition(int x,int y){
		posX = posX-x;
		posY = posY-y;
	}
	
}
